package com.yanqu.road.utils;

import com.yanqu.road.server.protocol.Protocol;

/**
==============================================
 *命令工具类
==============================================
* 作者：zrq
* 时间：2023/12/21
**/
public class CommandUtils {
    public static boolean isSlowCommand(int code){
        if(Protocol.C_UNION_JOIN == code
                || Protocol.C_UNION_ACTIVITY_GROUP_GET_UNION_RANK == code
                || Protocol.C_CROSS_UNION_GROUP_UNION_RANK == code
                || Protocol.C_UNION_GET_MAX_ABILITY_UNION_RANK_LIST == code
                || Protocol.C_CROSS_RELATION_ACTIVITY_RELOAD == code
                || Protocol.C2_CROSS_YRANK_UPLOAD_USER_RANK == code
                || Protocol.C2_CROSS_YRANK_GET_USER_RANK_LIST == code
                || Protocol.C_CROSS_UNION_RECHARGE_ACTIVITY_CHANGE == code
                || Protocol.C2_TON_BING_GET_CAMP_RANK_LIST == code
                || Protocol.C2_TON_BING_GET_USER_RANK_LIST == code
                || Protocol.C_CROSS_UNION_ACTIVITY_GROUP_USER_VALUE_CHANGE == code
                || Protocol.C2_HS_ISLAND_ENTER_ACTIVITY == code
                || Protocol.C2_HS_ISLAND_UNION_USER_LIST == code
                || Protocol.C2_DUN_HUANG_SHI_KU_GET_USER_DATA == code
                || Protocol.C_CROSS_JOIN_BANQUET == code
        ){
            return true;
        }
        return false;
    }
}
